package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_union_hua_ben_level_pass", desc = "商会话本通关日志", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionHuaBenLevelPass extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "商会", isIndex = true)
    private String unionUid;

    @FieldTypeAnnotation(desc = "周id")
    private int weekId;

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "难度")
    private int degree;

    @FieldTypeAnnotation(desc = "关卡")
    private int level;

    @FieldTypeAnnotation(desc = "路线id")
    private int routeId;

    public LogUnionHuaBenLevelPass(String unionUid, int weekId, long userId, int degree, int level, int routeId) {
        this.unionUid = unionUid;
        this.weekId = weekId;
        this.userId = userId;
        this.degree = degree;
        this.level = level;
        this.routeId = routeId;
    }

    public long getUserId() {
        return userId;
    }

}
